//
//  SipManager.h
//  SipPhone
//
//  Created by 宋晓建 on 2019/6/21.
//  Copyright © 2019 SJ. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SipManager : NSObject

+ (instancetype)sharedManager;

- (void)login; // 登录
@property (assign, nonatomic) BOOL logined; // 已登录

- (void)call:(NSString *)number; // 拨号

- (void)hangup; // 挂断

// 新的通话记录
//@property (copy, nonatomic) void(^addCallRecord)(NSDictionary *record);

@end

NS_ASSUME_NONNULL_END
